package guice.boot.archive.spi.archive;

/**
 * Represents a single entry in the archive.
 */
public interface Entry {

    /**
     * Returns {@code true} if the entry represents a directory.
     *
     * @return if the entry is a directory
     */
    boolean isDirectory();

    /**
     * Returns the name of the entry.
     *
     * @return the name of the entry
     */
    String getName();

}
